package day7.pm;

public class Test8{
    public static void main(String[] args) {
        int[] light = new int[100];
        for(int k = 1; k <= 100; k ++){
            for(int t = 0; t < light.length; t ++){
                if((t+1) % (k+1) == 0){
                    if(light[t] == 1) light[t] = 0;
                    else light[t] = 1;
                }
            }
        }
        for(int i = 0; i < 100; i ++) System.out.println(light[i]);
    }
}
